<template>
  <div>
    父组件
    <Child :a="a" :b="b" :c="c" :d="d" :e="e" :addA="addA"/>
  </div>
</template>

<script lang="ts" setup>
import Child from './child.vue'
import { ref } from 'vue'

let a = ref(0)
let b = ref(0)
let c = ref(0)
let d = ref(0)
let e = ref(0)

function addA (value) {
  a.value += value  
}

</script>

<style lang="scss" scoped>
</style>
